﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001333 RID: 4915
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TakeChapterRewardCsReq : IMessage<TakeChapterRewardCsReq>, IMessage, IEquatable<TakeChapterRewardCsReq>, IDeepCloneable<TakeChapterRewardCsReq>, IBufferMessage
	{
		// Token: 0x17003DFF RID: 15871
		// (get) Token: 0x0600DC04 RID: 56324 RVA: 0x0024D2DD File Offset: 0x0024B4DD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TakeChapterRewardCsReq> Parser
		{
			get
			{
				return TakeChapterRewardCsReq._parser;
			}
		}

		// Token: 0x17003E00 RID: 15872
		// (get) Token: 0x0600DC05 RID: 56325 RVA: 0x0024D2E4 File Offset: 0x0024B4E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TakeChapterRewardCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003E01 RID: 15873
		// (get) Token: 0x0600DC06 RID: 56326 RVA: 0x0024D2F6 File Offset: 0x0024B4F6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TakeChapterRewardCsReq.Descriptor;
			}
		}

		// Token: 0x0600DC07 RID: 56327 RVA: 0x0024D2FD File Offset: 0x0024B4FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeChapterRewardCsReq()
		{
		}

		// Token: 0x0600DC08 RID: 56328 RVA: 0x0024D305 File Offset: 0x0024B505
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeChapterRewardCsReq(TakeChapterRewardCsReq other) : this()
		{
			this.pNOAKGNANBO_ = other.pNOAKGNANBO_;
			this.nCLHEOJCFDM_ = other.nCLHEOJCFDM_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600DC09 RID: 56329 RVA: 0x0024D336 File Offset: 0x0024B536
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeChapterRewardCsReq Clone()
		{
			return new TakeChapterRewardCsReq(this);
		}

		// Token: 0x17003E02 RID: 15874
		// (get) Token: 0x0600DC0A RID: 56330 RVA: 0x0024D33E File Offset: 0x0024B53E
		// (set) Token: 0x0600DC0B RID: 56331 RVA: 0x0024D346 File Offset: 0x0024B546
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PNOAKGNANBO
		{
			get
			{
				return this.pNOAKGNANBO_;
			}
			set
			{
				this.pNOAKGNANBO_ = value;
			}
		}

		// Token: 0x17003E03 RID: 15875
		// (get) Token: 0x0600DC0C RID: 56332 RVA: 0x0024D34F File Offset: 0x0024B54F
		// (set) Token: 0x0600DC0D RID: 56333 RVA: 0x0024D357 File Offset: 0x0024B557
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint NCLHEOJCFDM
		{
			get
			{
				return this.nCLHEOJCFDM_;
			}
			set
			{
				this.nCLHEOJCFDM_ = value;
			}
		}

		// Token: 0x0600DC0E RID: 56334 RVA: 0x0024D360 File Offset: 0x0024B560
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TakeChapterRewardCsReq);
		}

		// Token: 0x0600DC0F RID: 56335 RVA: 0x0024D36E File Offset: 0x0024B56E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TakeChapterRewardCsReq other)
		{
			return other != null && (other == this || (this.PNOAKGNANBO == other.PNOAKGNANBO && this.NCLHEOJCFDM == other.NCLHEOJCFDM && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600DC10 RID: 56336 RVA: 0x0024D3AC File Offset: 0x0024B5AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.PNOAKGNANBO != 0U)
			{
				num ^= this.PNOAKGNANBO.GetHashCode();
			}
			if (this.NCLHEOJCFDM != 0U)
			{
				num ^= this.NCLHEOJCFDM.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600DC11 RID: 56337 RVA: 0x0024D404 File Offset: 0x0024B604
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600DC12 RID: 56338 RVA: 0x0024D40C File Offset: 0x0024B60C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600DC13 RID: 56339 RVA: 0x0024D418 File Offset: 0x0024B618
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.NCLHEOJCFDM != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.NCLHEOJCFDM);
			}
			if (this.PNOAKGNANBO != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.PNOAKGNANBO);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600DC14 RID: 56340 RVA: 0x0024D474 File Offset: 0x0024B674
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.PNOAKGNANBO != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PNOAKGNANBO);
			}
			if (this.NCLHEOJCFDM != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.NCLHEOJCFDM);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600DC15 RID: 56341 RVA: 0x0024D4CC File Offset: 0x0024B6CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TakeChapterRewardCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.PNOAKGNANBO != 0U)
			{
				this.PNOAKGNANBO = other.PNOAKGNANBO;
			}
			if (other.NCLHEOJCFDM != 0U)
			{
				this.NCLHEOJCFDM = other.NCLHEOJCFDM;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600DC16 RID: 56342 RVA: 0x0024D51C File Offset: 0x0024B71C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600DC17 RID: 56343 RVA: 0x0024D528 File Offset: 0x0024B728
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 32U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.PNOAKGNANBO = input.ReadUInt32();
					}
				}
				else
				{
					this.NCLHEOJCFDM = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400575C RID: 22364
		private static readonly MessageParser<TakeChapterRewardCsReq> _parser = new MessageParser<TakeChapterRewardCsReq>(() => new TakeChapterRewardCsReq());

		// Token: 0x0400575D RID: 22365
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400575E RID: 22366
		public const int PNOAKGNANBOFieldNumber = 4;

		// Token: 0x0400575F RID: 22367
		private uint pNOAKGNANBO_;

		// Token: 0x04005760 RID: 22368
		public const int NCLHEOJCFDMFieldNumber = 2;

		// Token: 0x04005761 RID: 22369
		private uint nCLHEOJCFDM_;
	}
}
